import axios from '@/utils/http.js'

// 获取评论
export const getCommentAPI = (id) => axios.get('/comment/list', { params: { leaveword_id: id } })

// 添加评论
export const createCommentAPI = (data) => axios.post('/comment', data)
